package com.lzdongrui.backend.domain.vo;

import com.lzdongrui.common.annotation.Excel;
import lombok.Data;

//这是返回给前端的类型
@Data
public class StudentinfoVO {
    /** id */
    private Long id;

    /** 学号 */
    @Excel(name = "学号")
    private Long sno;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 班级id */
    private Long gradeId;

    /** 班级id */
    @Excel(name = "班级名称")
    private String gradeName;

    /** 性别 */
    @Excel(name = "性别", readConverterExp = "0=女,1=男")
    private Integer gender;

    /** 密码 */
    private String password;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String phone;

    /** 年级 */
    @Excel(name = "年级")
    private Long schoolYear;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String mail;

    /** 家庭地址 */
    @Excel(name = "家庭地址")
    private String location;

    /** 是否在校 */
    @Excel(name = "是否在校", readConverterExp = "0=在校,1=离校,2=毕业")
    private Integer isAtSchool;
}
